import 'package:dio/dio.dart';
import 'package:qq_music/tools/Controller/NetWork/Get.dart';

class NetWorkController {
  //网络控制器
  static void get(String url, Function callBack, {Map<String, dynamic> parameter, ResponseType responseType}) async {
    NetWorkGet.get(url, (callBack1) {
      callBack(callBack1);
    }, parameter: parameter, responseType: responseType);
  }
}
